package top.v5it.japi.plus.example.jdbc.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author zhanpu
 * @date 2022/8/4
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class AccountVo implements Serializable {
    private static final long serialVersionUID = 3240529988008004082L;

    private Long id;
    private String name;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
    private Byte status;
    private String remark;
    private Resource resource;

    @Data
    @Accessors(chain = true)
    @EqualsAndHashCode(callSuper = false)
    public static class Resource {
        private Long amount;
        private String accountNumber;
        private String tel;
    }
}
